<div class=" animated fadeInRight ecommerce">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="查询条件" namespace="reportNoFeeRoom"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <!--<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
                                v-on:click="_moreCondition()">
                            {{reportNoFeeRoomInfo.moreCondition == true ? '隐藏' : '更多'}}
                        </button>-->
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="form-control-md form-control input-s-sm inline"
                                        v-model="reportNoFeeRoomInfo.conditions.floorId"
                                        @change="selectReportNoFeeRoomUnit()">
                                    <option selected value="">{{vc.i18n('请选择楼栋','reportNoFeeRoom')}}</option>
                                    <option v-for="(item,index) in reportNoFeeRoomInfo.floors" :key="index"
                                            :value="item.floorId">{{item.floorName}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="reportNoFeeRoomInfo.conditions.unitId"
                                        @change="_selectReportNoFeeRoomRoom()">
                                    <option selected value="">
                                        {{vc.i18n('请选择单元','reportNoFeeRoom')}}
                                    </option>
                                    <option v-for="(item,index) in reportNoFeeRoomInfo.units"
                                            :value="item.unitId">
                                        {{item.unitNum}}{{vc.i18n('单元','reportNoFeeRoom')}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="custom-select" v-model="reportNoFeeRoomInfo.conditions.roomId">
                                    <option selected value="">
                                        {{vc.i18n('请选择房屋','reportNoFeeRoom')}}
                                    </option>
                                    <option v-for="(item,index) in reportNoFeeRoomInfo.roomInfos"
                                            :value="item.roomId">
                                        {{item.roomNum}}{{vc.i18n('房屋','reportNoFeeRoom')}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择业主名称','reportNoFeeRoom')"
                                       v-model.trim="reportNoFeeRoomInfo.conditions.ownerName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择业主电话','reportNoFeeRoom')"
                                       v-model.trim="reportNoFeeRoomInfo.conditions.link" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-md" v-on:click="_queryMethod()">
                                <i class="fa fa-search"></i>
                                <span><vc:i18n name="查询" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </button>
                            <button type="button" class="btn btn-info btn-md" v-on:click="_resetMethod()"
                                    style="margin-left: 20px;">
                                <i class="fa fa-repeat"></i>
                                <span><vc:i18n name="重置" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="未收费房屋" namespace="reportNoFeeRoom"></vc:i18n></span>
                    </h5>
                    <span class="fa fa-info-circle popover-show" style="cursor: pointer;"
                          data-content="未关联收费项的房屋信息"></span>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_exportExcel()">
                            <i class="fa fa-plus"></i>
                            <span><vc:i18n name="导出" namespace="reportNoFeeRoom"></vc:i18n></span>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center">
                                <span><vc:i18n name="序号" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="楼栋" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="单元" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="房屋" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="业主名称" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                            <th class="text-center">
                                <span><vc:i18n name="业主电话" namespace="reportNoFeeRoom"></vc:i18n></span>
                            </th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="(room,index) in reportNoFeeRoomInfo.rooms">
                            <td class="text-center">{{index+1}}</td>
                            <td class="text-center">{{room.floorNum}}</td>
                            <td class="text-center">{{room.unitNum}}</td>
                            <td class="text-center">{{room.roomNum}}</td>
                            <td class="text-center">{{room.ownerName}}</td>
                            <td class="text-center">{{room.link}}</td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="8">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>
